#ifndef GUITEST_H
#define GUITEST_H

#include "test_common.h"


class GuiTest : public GLClient
{
public:
	GuiTest(GLEngine* engine);
	virtual ~GuiTest();

	virtual void onEnter();
	virtual void onLeave();
	virtual void onEvent(GLEvent e);
	virtual void onUpdate(float dt);
	virtual void onDraw();

private:
    struct VM
    {
        VM(int _w, int _h) { w=_w; h=_h; }
        int w;
        int h;
    };
    void myLoadGui(const char* fn);

private:
    std::vector<VM> vmodes;
    String          vmodes_str;
    String          xmlFileName;
};


#endif // GUITEST_H
